Skip to content

Conversation

besendorf
Copy link
Collaborator

fixes #62

@besendorf
Copy link
Collaborator Author

not sure why CI run fails. Works on my machine with go 1.23

Copy link
Collaborator

@roaree roaree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking comments

github.com/chzyer/readline v1.5.1 // indirect
github.com/gookit/color v1.5.4 // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this https://github.com/xo/terminfo dependency is net new from the auto minor-version upgrade of https://github.com/gookit/color , which is ultimately required by our first-level dependency https://github.com/i582/cfmt. I wonder if there isn't a better way to do colored terminal output these days with less dependencies?

These are the only places where we call into the cfmt library as far as I can tell:

cfmt.Printf("{{%s}}::red|bold\n", msg)

androidqf/main.go

Lines 22 to 36 in facb7a0

func init() {
cfmt.Print(`
{{ __ _ __ ____ }}::green
{{ ____ ____ ____/ /________ (_)___/ /___ / __/ }}::yellow
{{ / __ '/ __ \/ __ / ___/ __ \/ / __ / __ '/ /_ }}::red
{{ / /_/ / / / / /_/ / / / /_/ / / /_/ / /_/ / __/ }}::magenta
{{ \__,_/_/ /_/\__,_/_/ \____/_/\__,_/\__, /_/ }}::blue
{{ /_/ }}::cyan
`)
cfmt.Println("\tandroidqf - Android Quick Forensics")
cfmt.Println()
}
func systemPause() {
cfmt.Println("Press {{Enter}}::bold|green to finish ...")

@besendorf besendorf merged commit 7c9bc2e into main Jul 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update dependencies
2 participants